package edu.school.service;

import com.github.pagehelper.PageInfo;
import edu.school.entity.Comment;

import java.util.List;

public interface CommentService {
    boolean save(Comment record);
    boolean update(Comment record);
    PageInfo<Comment> getPageList(Integer pageNum, Integer pageSize, Comment record);
    Comment findById(Integer id);
    boolean deleteComment(Integer id);
    int deleteMany(String ids[]);
    List<Comment> findAll(Comment record);
}
